pacman::p_load(tidyverse, lubridate, stringi, tidylog, broom, ggplot2, sandwich,
               clubSandwich, lmtest, estimatr, ggeffects, texreg, emmeans, sjmisc,
               patchwork, nnet, effects)

# CREATE SUBFOLDERS FOR OUTPUT
dir.create("Tables")
dir.create("Figures")
dir.create("Estimates")

# LOAD DATA
source("main_load_data.r")
source("Levada_load_data.R")
source("OMI_load_data.r")

# SUPPLEMENTARY FUNCTIONS TO RUN REGRESSION MODELS AND RETURN ESTIMATES
source("functions.r")

# MAIN FIGURES AND APPENDIX TABLES/FIGURES 
source("results.r")

# ADDITIONAL QUANTITIES IN THE MAIN TEXT 
source("main_text_additional_numbers.r")

